     Title: 10 Basic 10 liner games [OR] 100 lines of Basic
  Platform: Unexpanded Commodore VIC-20
     Video: PAL/NTSC
 Interface: Keyboard only
 Game type: Various
Written by: W E de Villiers, core game engine: Jeffrey Daniels

I have wanted to do Basic 10-liner games for some time, but the code examples I have come across were too custom made for their particular purpose. What I wanted was a nice framework with which I could start a 10-liner game. The solution came in the form of a game called 'UFO Rush' by Jeffrey Daniels from his
forthcoming book 'The Vic-20 Quick Reference Handbook' on page 121. The game is only five lines of code! See my analysis of the game which forms part of the documentation for this compilation. This game allowed me to test ideas, add functions to the code and warp it with 50%+ space available. This is exactly what I wanted. The result has been the 10 games in this games pack. Most of the games don't stray too far from the 'UFO Rush' gameplay but I'm still learning the ins and outs. This is my test run for the 2023 10-liner competition.

Greetings
Huffelduff (User handle on the VIC-20 Denial forum)

Notice: This software is distributed as is without any warranty given or implied. You can copy the software for personal use and use the code in any way that you see fit. Written by E W de Villiers (eXimietas software).

The photo images on the front and back cover were generated using Stable Diffusion.

--------------------------------------------------------------------------------

        What's on the tape/disk?
        ------------------------
        00. menu (The disk version includes a menu system)
        01. Zombie rush
        02. Fruit machine
        03. Commodore fish cannery
        04. Moon machine
        05. Cheesy
        06. Spiceworm
        07. I Rebel
        08. Pollinate
        09. Magic 8 ball
        10. Bad plumber

        IMPORTANT, HEY LOOK DOWN HERE!
        ------------------------------
		Game Controls:
        --------------		
        Keyboard only
        left/right   = n / m
        up/down      = a / z
        space bar    = jump / spin
        exit to menu = x
     
Loading: for disk use: load "*",8 then type run and press return.
         for tape use: load: then type run and press return. Don't rewind the tape for loading and running the next game.   

--------------------------------------------------------------------------------
		 
01. Zombie rush - A mysterious comet has hit the earth and the dead have arisen. You have to avoid the zombies and their open graves. You've seen this game before (eXimietas Monster maze 2020) but this time its done in Basic. Yeah!

02. Fruit machine - The classic gambling game. In this version there are only three types of fruit. Therefore the chances of three of a kind occuring are: 1/3 x 1/3 x 1/3 = 1/27. You get a payout if its three cherries, apples or bananas, so the chances then become 3/27 or 1/9 (1 in 9). But the payout is only 7 on a win, so one is supposed to lose thoroughly over time. The dollar count can go negative so that a lesson can be learned, which is this: Do not gamble unless you as a player have a gaming edge, for example see: Card counting in Blackjack. But even thats not a real option because a Casino will ban you if they think you are card counting (doing arithmetic in your head). So even if you play by the Casino rules in Blackjack they still don't tolerate a winner.

03. Commodore fish cannery - It is a little known fact that between the development of the Commodore Vic-20 and the Commodore 64 Jack Tramiel started the Commodore fish cannery. The enterprise did not last very long though and this is its story: You are employee no.2 at the factory and your job is to suck up the canned fish with the Commodore Vacu-suck hose as the cans roll off the production line. They are then whisked off to Commodore packaging and transport. But beware: If you mess up you will incur the wrath of Jack and experience a Jack Attack!

04. Moon machine - A very simplistic moon patrol. You own a moon van and you're taking it out for a spin. Problem is there are craters all over the moon, but you have a secret feature on your van. A set of thrusters that can lift you off the surface, but as usual there's a catch: Although the thrusters use oxygen and a propellant they also require the energy from a set of battery cells. The electrochemical reaction involved to propel your vehicle above the lunar surface is too complicated to explain here, but the important part is that your electric cells run down very quickly during a burn. However they also recharge over time. So its a dance between jumping and hovering above the surface and landing again to recharge the cells. So if you run out of juice your game is over. Hit a crater and your game is also over. I thought joyrides were supposed to be fun...

05. Cheesy - You are a mouse and you need cheese. But you have to avoid the Felis catus and the spring loaded-bar mousetraps. If you are caught by either your clock is punched. Also if you don't get a piece of cheese your life loses its meaning, so don't miss the cheese.

06. Spiceworm - You are an Arakeen worm, but not those that produce spice. You are a one of a kind worm that consumes spice. You have to consume all the spice but save one heap to advance. You also have to be careful when searching for the spice to not run into your tail or into a Harkonen barrier wall. One more thing, at the bottom right of the barrier wall you can escape the games confines and explore the deep desert of the Vic's internals, but you do so at your peril. 

07. I Rebel - Any new foundational discovery or revolutionary philosophy is an act of rebellion against the societal system that one finds oneself in. One has to go against the grain. The more important one's contribution turns out to be, the more resistance one will have to face up to. Note: The scroll trick I saw in a 10-liner game called Space patrol.

08. Pollinate - You're a bee, or maybe some weird butterfly. Point is you have to pollinate the flowers as you go and you're not allowed to miss one.

09. Magic 8 ball - Do have a yes or no question? Ask the oracle of the magic 8 ball. Well 8-balls in the plural to be exact, 42 of them. They may be able to answer some very personal questions or even be able to give you answers to life, the universe and everything.

10. Bad plumber - This is a remake of 'eXimietas Hydrocarbon Emergency' in Basic. This time you're a bad plumber with a water pipe leak and the only solution you can come up with is catching the droplets in a bucket.

--------------------------------------------------------------------------------



